import React, { Component } from 'react'
import CounterButton from './CounterButton'
import Count from './Count'
import {CounterProvider} from './CounterContext'

export default class Cart extends Component {
  render() {
    return (
      <CounterProvider>
        <CounterButton type="increment"></CounterButton>
        <Count></Count>
        <CounterButton type="decrement"></CounterButton>
      </CounterProvider>
    )
  }
}
